<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>系统首页</title>
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/jquery-easyui-1.8.8/themes/gray/easyui.css">
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/jquery-easyui-1.8.8/themes/icon.css">
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/jquery-easyui-1.8.8/themes/color.css">
<script type="text/javascript"
	src="${pageContext.request.contextPath}/jquery-easyui-1.8.8/jquery.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/jquery-easyui-1.8.8/jquery.easyui.min.js"></script>

</head>
<body class="easyui-layout">
	<div id="cc" class="easyui-layout"
		style="width: 100%; heith: 100%; min-height: 600px;">
		<div data-options="region:'north',border:false" style="height: 80px;">
			<img alt="logo" src="../images/login_1.png"
				style="width: 300px;padding: 20px 0 0 20px;">
				<div style="float:right;padding-top: 3%;padding-right: 50px;font-size: 16px;">欢迎您，${sessionScope.SESSION_USER}</div>
		</div>
		<div data-options="region:'west',title:'菜单',split:true"
			style="width: 200px;">
			<div id="aa" class="easyui-accordion"
				data-options="fit:true,border:false">

				<div title="个人信息" data-options="iconCls:'icon-save',selected:true"
					style="overflow: auto; padding: 10px;">

					<a id="btn" href="javascript:void(0);" class="easyui-linkbutton"
						data-options="plain:true"
						onclick="open_menu('个人信息','${pageContext.request.contextPath}/menu/index')">个人信息</a>
				</div>

				<div title="请假/去向" data-options="iconCls:'icon-save',selected:true"
					style="overflow: auto; padding: 10px;">
					<a id="btn" href="javascript:void(0);" class="easyui-linkbutton"
						data-options="plain:true"
						onclick="open_menu('请假','${pageContext.request.contextPath}/outrequest/index')">请假</a><br>
					<a id="btn" href="javascript:void(0);" class="easyui-linkbutton"
						data-options="plain:true"
						onclick="open_menu('去向','${pageContext.request.contextPath}/orderList/index')">去向</a>
				</div>
				
				<div title="个人成绩" data-options="iconCls:'icon-save',selected:true"
					style="overflow: auto; padding: 10px;">
					<a id="btn" href="javascript:void(0);" class="easyui-linkbutton"
						data-options="plain:true"
						onclick="open_menu('成绩查询','${pageContext.request.contextPath}/admin/score')">成绩查询</a><br>
					<a id="btn" href="javascript:void(0);" class="easyui-linkbutton"
						data-options="plain:true"
						onclick="open_menu('期末报告','${pageContext.request.contextPath}/admin/report')">期末报告</a>
				</div>
				<div title="课堂信息" data-options="iconCls:'icon-save',selected:true"
					style="overflow: auto; padding: 10px;">
					<a id="btn" href="javascript:void(0);" class="easyui-linkbutton"
						data-options="plain:true"
						onclick="open_menu('作业','${pageContext.request.contextPath}/homework/index')">作业</a><br>
					<a id="btn" href="javascript:void(0);" class="easyui-linkbutton"
						data-options="plain:true"
						onclick="open_menu('课程','${pageContext.request.contextPath}/emp/index')">课程</a><br>
					<a id="btn" href="javascript:void(0);" class="easyui-linkbutton"
						data-options="plain:true"
						onclick="open_menu('考勤','${pageContext.request.contextPath}/attendance/index')">考勤</a>
				</div>
				<div title="校园卡" data-options="iconCls:'icon-save',selected:true"
					style="overflow: auto; padding: 10px;">
					<a id="btn" href="javascript:void(0);" class="easyui-linkbutton"
						data-options="plain:true"
						onclick="open_menu('余额查询','${pageContext.request.contextPath}/emp1/index')">余额查询</a><br>
					<a id="btn" href="javascript:void(0);" class="easyui-linkbutton"
						data-options="plain:true"
						onclick="open_menu('消费记录','${pageContext.request.contextPath}/emp2/index')">消费记录</a>
				</div>

				<div title="系统管理" data-options="iconCls:'icon-reload'"
					style="padding: 10px;">
					<a href="javascript:void(0);" class="easyui-linkbutton"
						data-options="plain:true">修改密码</a> <br> <a
						href="javascript:void(0);" class="easyui-linkbutton"
						data-options="plain:true">刷新系统缓存</a> <br> <a
						href="${pageContext.request.contextPath}/user/logout"
						class="easyui-linkbutton" data-options="plain:true">退出系统</a>
				</div>

			</div>
		</div>

		<div data-options="region:'center',border:false,plain:true">
			<div id="tt" class="easyui-tabs" fit=true>
				<div title="首页" style="text-align: center; font-size: 24px;">
					<p>欢迎来到学生信息管理系统</p>
				</div>
			</div>
		</div>
	</div>
	<div style="height: 40px; text-align: center; font-size: 12px;">
	   <p>版权所有,&copy;2019-2020</p>
	</div>


	<script type="text/javascript">
		function open_menu(titleName, menuUrl) {
			if ($("#tt").tabs("exists", titleName)) {
				$("#tt").tabs("select", titleName);
			} else {
				$('#tt').tabs('add', {
					title : titleName,
					href : menuUrl,
					closable : true
				});
			}
		}
	</script>

</body>
</html>